{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<style type="text/css">
.page{float:left;}
</style>
<body>
<div class="sub-body">
<div class="tab_info">
<div class="tab-title-1"  style="width:698px;"><span>折扣原因</span></div>
<table  width="700px" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="4" align="right" style="padding-right:50px;"><a href="{url index.php?app=disreason&act=add}" class="add btn-2">添加</a></td>
	</tr>
      <tr>
        <th width="25%">折扣原因名称</th>
		<th width="10%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$distypes item=type}-->
       <tr>
        <td>{$type.type_name|escape}</td>
		<td><a href="{url app=disreason&act=edit&did=$type.did}">{$lang.edit}</a>&nbsp;<a href="javascript:if(confirm('确认删除此折扣原因吗?')==true){location.href='{url app=disreason&act=del&did=$type.did}';};">{$lang.delete}</a></td>
      </tr>
	  <!--{/foreach}-->
    </table>
    {include file=page.html}
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>